<?php 

/**
 * Provides the ability to "Adapt" an object to a new type prior to serialization. 
 * Or during deserialization before model objects are passed to service classes. 
 * This allows a diffrent type to be used for ActionScript than in php. 
 * @author Navid Mitchell
 *
 */
interface Zend_AMF_Parse_Adapter{
	
	/**
	 * @param $source the object to be adapted.
	 * @return the new object from the source object.
	 */
	public function adapt(&$source);
	
}

?>